package cn.edu.mju.common.client;

import cn.edu.mju.common.config.FeignConfiguration;
import cn.edu.mju.common.entity.result.R;
import cn.edu.mju.common.entity.vo.user.UserSimpleVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author JB
 * @Classname IUserClient
 * @Date 2023/6/6 16:34
 * @Created by JB
 */

@FeignClient(name = "user-service",configuration = FeignConfiguration.class)
public interface IUserClient {

    @GetMapping("/vip/getVipLevel")
    public int getVipLevel(@RequestParam(value = "userId") String userId);

}
